Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App dependencies are now analysed on app enable as well - not only on app install. #26295

Merged
merged 1 commit into from Oct 10, 2016

Conversation

DeepDiver1975
Copy link
Member

Description

App dependencies can now evaluated on enable as well.

Motivation and Context

Let's say the system environment was okay on installation of an app.
Then the app is disabled for some time and in between the system environment is changed.
After re-enabling the app we would render the system unstable.

How Has This Been Tested?

Add a dependency to an installed but disabled app - e.g.

    <database>mongodb</database>

Now enable the app and see it fail

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@mention-bot
Copy link

@DeepDiver1975, thanks for your PR! By analyzing the history of the files in this pull request, we identified @MorrisJobke, @icewind1991 and @nickvergessen to be potential reviewers.

@PVince81
Copy link
Contributor

Tested by enabling on the CLI with mismatch requirements because the web UI doesn't allow it. Works 👍
Also checked that master didn't do the check with "occ app:enable".

@PVince81 PVince81 merged commit 9eef6e5 into master Oct 10, 2016
@PVince81 PVince81 deleted the analyse-dependencies-on-app-enable-as-well branch October 10, 2016 07:26
@DeepDiver1975
Copy link
Member Author

@PVince81 @butonic do we agree on backporting? THX

@PVince81
Copy link
Contributor

I'd say backport to 9.1 but no further, unless really critical

@DeepDiver1975 DeepDiver1975 self-assigned this Oct 10, 2016
DeepDiver1975 pushed a commit that referenced this pull request Oct 12, 2016
…ies-on-app-enable-as-well

App dependencies are now analysed on app enable as well - not only on app install.
DeepDiver1975 pushed a commit that referenced this pull request Oct 13, 2016
…ies-on-app-enable-as-well

App dependencies are now analysed on app enable as well - not only on app install.
PVince81 pushed a commit that referenced this pull request Oct 17, 2016
…553c363bf9594a044f302

[stable9.1] Merge pull request #26295 from owncloud/analyse-dependenc…
@lock
Copy link

lock bot commented Aug 4, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants